import request from "@/utils/service";
// 通过名称查区域id
export function searchById(params){return request({
    url: '/jeecg-boot/sys/sysDepart/searchBy',
    method: 'get',
    params
})
}
// 通过id获取区域弹窗表格的数据
export function bydialogList(areaId){return request({
    url: `/jeecg-boot/internal/project/listByArea/${areaId}`,
    method: 'get',
})
}
// 通过id获取区域合作信息
export function bydialogCooperation(areaId,params){return request({
    url: `/jeecg-boot/internal/project/countByArea/${areaId}`,
    method: 'get',
    params
})
}
// 通过id获取区域弹窗项目信息
export function bydialogProject(areaId,params){return request({
    url: `/jeecg-boot/internal/project/getPjtCntByArea/${areaId}`,
    method: 'get',
    params
})
}
// 通过项目数量改变颜色
export function projectColor(areaId,params){return request({
    url: `/jeecg-boot/internal/project/countChildByArea/${areaId}`,
    method: 'get',
    params
})
}